<template>
  <div class="container">
    <detailInfo ref="detailInfo" :propReadonly="false" propIsInfo/>
  </div>
</template>

<script>
import detailInfo from '@/views/base/supplier/detail.vue'

export default {
  help: '我的企业-企业信息查看',
  data() {
    return {
    }
  },
  components: {
    detailInfo
  },
  methods: {
  },
  mounted() {
    let deptType = this.utils.getCurrentUser().deptType
    if (this.constCommon.deptType.supplier != deptType) {
      this.utilMessage.warning('当前非供应商角色，不可查看')
      return
    }
    setTimeout(() => {
      this.$refs.detailInfo.getCurrentSp()
    }, 1000)
  }
}
</script>
